package com.baor.enums;

public enum Results {

    INSERT_SUCCESS("插入成功"), INSERT_ERROR("插入失败"),
    UPDATE_SUCCESS("更新成功"), UPDATE_ERROR("更新失败"),
    DELETE_SUCCESS("删除成功"), DELETE_ERROR("删除失败");

    private final String res;

    private Results(String res){
        this.res = res;
    }

    public String getRes() {
        return res;
    }

    @Override
    public String toString() {
        return res;
    }
}
